package com.example.cslp.service;


import com.example.cslp.pojo.entity.Comment;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface CommentService {
    //增加评论
    ResponseEntity<Boolean> addComment(Comment comment);
    //删除评论
    Boolean deleteComment(String id);
    //查询某门课评论
    List<Comment> queryComment(Integer c_id);
    //点赞评论
    Boolean yesComment(Integer commentId);
    //点踩评论
    Boolean noComment(Integer commentId);
}
